package com.ohos.connent.bizscenecloud.biz.modular.dp.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * @Author MZQ
 * @Description
 * @Date 2025/5/26 16:50
 **/
@Getter
@Setter
public class BizDpProductEditParam {

    /** id */
    @ApiModelProperty(value = "id", position = 1)
    @NotEmpty(message = "id不能为空")
    private String id;

    /** 产品名称 */
    @ApiModelProperty(value = "产品名称", position = 1)
    @NotEmpty(message = "产品名称不能为空")
    private String name;

    /** 产品型号 */
    @ApiModelProperty(value = "产品型号", position = 2)
    @NotEmpty(message = "产品型号不能为空")
    private String model;

    /** 品牌 */
    @ApiModelProperty(value = "品牌", position = 3)
    @NotEmpty(message = "品牌不能为空")
    private String brand;

    /** 品牌英文 */
    @ApiModelProperty(value = "品牌英文", position = 4)
    @NotEmpty(message = "品牌英文不能为空")
    private String brandEn;

    /** 产品类型 */
    @ApiModelProperty(value = "产品类型，来源于树结构的name", position = 5)
    @NotEmpty(message = "产品类型不能为空")
    private String type;


    /** 产品英文名称 */
    @ApiModelProperty(value = "产品英文", position = 6)
    @NotEmpty(message = "产品英文不能为空")
    private String nameEn;

    /** OS系统版本 */
    @ApiModelProperty(value = "OS系统版本", position = 7)
    @NotEmpty(message = "OS系统版本不能为空")
    private String osSystemVersion;

    /** OS类型 */
    @ApiModelProperty(value = "OS类型  1:轻量系统，2:小型系统,3:标准系统", position = 8)
    @NotEmpty(message = "OS类型不能为空")
    private String osType;

    /** OS类型英文 */
    @ApiModelProperty(value = "OS类型英文", position = 9)
    @NotEmpty(message = "OS类型英文不能为空")
    private String osTypeEn;

    /** 是否为桥设备 0否 1是 */
    @ApiModelProperty(value = "是否为桥设备 0否 1是", position = 10)
    @NotEmpty(message = "是否为桥设备不能为空")
    private String bridgeEquipment;

    /** 支持认证方式 */
    @ApiModelProperty(value = "支持认证方式 1:无认证，2:一品一密,3:一机一密  ", position = 11)
    @NotEmpty(message = "支持认证方式不能为空")
    private String supportAuthentication;

    /** 支持连接方式 */
    @ApiModelProperty(value = "支持连接方式  1:wifi，2:BLE,3:SLE,4:以太网 ", position = 12)
    @NotEmpty(message = "支持连接方式不能为空")
    private String supportConnection;

    /** 支持靠近发现 */
    @ApiModelProperty(value = "支持靠近发现   0否 1是", position = 13)
    @NotEmpty(message = "支持靠近发现不能为空")
    private String supportProximityDiscovery;

    /** APP包名 */
    @ApiModelProperty(value = "APP包名", position = 14)
    private String appPackageName;

    /** 图片文件id */
    @ApiModelProperty(value = "图片文件", position = 15)
    @NotEmpty(message = "图片文件不能为空")
    private String imageBase64;


    /** 品类Id biz_pro_category_dict表主键 */
    @ApiModelProperty(value = "品类Id", position = 7)
    private String categoryDictId;

    /** 品类ParentId biz_pro_category_dict表parentId */
    @ApiModelProperty(value = "品类Id", position = 8)
    private String categoryDictParentId;

    @ApiModelProperty("pin码方式 1：默认PIN码 2：随机PIN码")
    @NotEmpty(message = "pin码方式不能为空")
    private String pinCodeMethod;

    @ApiModelProperty("高清图片")
    @NotEmpty(message = "高清图片文件不能为空")
    private String highImageBase64;

    @ApiModelProperty("跳转的deepLink")
    private String deepLink;

    @ApiModelProperty("跳转的应用ID")
    private String appIdentifier;
}
